***creating raw difference scores from 1-5 scale.

use "C:\Users\Diana Mutz\Dropbox\_Sevdenur\2025 analyses and paper\IOsforautopolychoricorrs.dta" , clear

gen untrust25 = .
replace untrust25=untrust_2-untrust_5

gen untrust56 = .
replace untrust56=untrust_5-untrust_6

gen untrust67=.
replace untrust67=untrust_6-untrust_7

gen untrust79=.
replace untrust79=untrust_7-untrust_9

tab1 untrust25 untrust56 untrust67 untrust79


**NATO


gen natotrust25=.
replace natotrust25=natotrust_2-natotrust_5

gen natotrust56=.
replace natotrust56=natotrust_5-natotrust_6

gen natotrust67=.
replace natotrust67=natotrust_6-natotrust_7

gen natotrust79=.
replace natotrust79=natotrust_7-natotrust_9

tab1 natotrust25 natotrust56 natotrust67 natotrust79

**WTO


gen wtotrust25=.
replace wtotrust25=wtotrust_2-wtotrust_5

gen wtotrust56=.
replace wtotrust56=wtotrust_5-wtotrust_6

gen wtotrust67=.
replace wtotrust67=wtotrust_6-wtotrust_7

gen wtotrust79=.
replace wtotrust79=wtotrust_7-wtotrust_9

tab1 wtotrust25 wtotrust56 wtotrust67 wtotrust79

***WHO


gen whotrust26=.
replace whotrust26=whotrust_2-whotrust_6

gen whotrust67=.
replace whotrust67=whotrust_6-whotrust_7


tab1 whotrust26 whotrust67

